﻿using System;
using System.ComponentModel;

namespace StartupSolution.ViewModel
{
    public class Order : BaseViewModel
    {
        public Order()
        {
        }

        private string orderId;
        public string OrderId
        {
            get
            {
                return this.orderId;
            }
            set
            {
                if (this.orderId != value)
                {
                    this.orderId = value;
                    this.OnPropertyChanged("OrderId");
                }
            }
        }

        private DateTime orderDate;
        public DateTime OrderDate
        {
            get
            {
                return this.orderDate;
            }
            set
            {
                if (this.orderDate != value)
                {
                    this.orderDate = value;
                    this.OnPropertyChanged("OrderDate");
                }
            }
        }

        private DateTime shippedDate;
        public DateTime ShippedDate
        {
            get
            {
                return this.shippedDate;
            }
            set
            {
                if (this.shippedDate != value)
                {
                    this.shippedDate = value;
                    this.OnPropertyChanged("ShippedDate");
                }
            }
        }

        private decimal freight;
        public decimal Freight
        {
            get
            {
                return this.freight;
            }
            set
            {
                if (this.freight != value)
                {
                    this.freight = value;
                    this.OnPropertyChanged("Freight");
                }
            }
        }

        private string shipName;
        public string ShipName
        {
            get
            {
                return this.shipName;
            }
            set
            {
                if (this.shipName != value)
                {
                    this.shipName = value;
                    this.OnPropertyChanged("ShipName");
                }
            }
        }

        private string shipAddress;
        public string ShipAddress
        {
            get
            {
                return this.shipAddress;
            }
            set
            {
                if (this.shipAddress != value)
                {
                    this.shipAddress = value;
                    this.OnPropertyChanged("ShipAddress");
                }
            }
        }

        private string shipCity;
        public string ShipCity
        {
            get
            {
                return this.shipCity;
            }
            set
            {
                if (this.shipCity != value)
                {
                    this.shipCity = value;
                    this.OnPropertyChanged("ShipCity");
                }
            }
        }

        private string shipCountry;
        public string ShipCountry
        {
            get
            {
                return this.shipCountry;
            }
            set
            {
                if (this.shipCountry != value)
                {
                    this.shipCountry = value;
                    this.OnPropertyChanged("ShipCountry");
                }
            }
        }

        private string shipPostalCode;
        public string ShipPostalCode
        {
            get
            {
                return this.shipPostalCode;
            }
            set
            {
                if (this.shipPostalCode != value)
                {
                    this.shipPostalCode = value;
                    this.OnPropertyChanged("ShipPostalCode");
                }
            }
        }
    }
}
